|
MOVE OBJECT RIGHT
This command will move the object in a right direction relative to its forward facing angle, rather than an absolute world direction.
MOVE OBJECT RIGHT Object Number, Value
Object Number
Integer
The object number
Value
Float
This command will move the object in a right direction relative to its forward facing angle
This command does not return a value.
sync on : sync rate 60 : hide mouse:cls 0
autocam off
ObjectNumber=1
SecondObject=2
make object cone ObjectNumber,10
xrotate object ObjectNumber,90
fix object pivot ObjectNumber
color object ObjectNumber,rgb(0,255,0)
position object ObjectNumber, 0,0,0
clone object SecondObject,ObjectNumber
color object SecondObject,rgb(255,0,0)
position object SecondObject,25,0,25
while mouseclick()=0
set cursor 0,0
if leftkey()=1 then turn object left SecondObject,1
BASIC3D Commands Menu
Index
|